package com.xuhao.android.libsocket.packet;

import org.jim.common.base.ImPacket;
import org.jim.common.packets.Command;
import org.jim.common.tcp.Protocol;
import org.jim.common.tcp.TcpPacket;

/**
 * Author:  winds
 * Data:    2018/7/17
 * Version: 1.0
 * Desc:
 */


public class PacketManager {
    /**
     * 心跳
     */
    public static final ImPacket HEARTBEAT_PACKET = new TcpPacket(Command.COMMAND_HEARTBEAT_REQ, new byte[]{Protocol.HEARTBEAT_BYTE});

    /**
     * 握手
     */
    public static final ImPacket HANDSHAKE_PACKET = new TcpPacket(Command.COMMAND_HANDSHAKE_REQ, new byte[]{Protocol.HANDSHAKE_BYTE});
}
